<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>列表</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
        content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
    <link rel="stylesheet" href="/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="/src/css/main.css" media="all">
</head>

<body>
    <div id="layui-body-content" class="layui-fluid">  
        <div class="layui-card">
            <div class="layui-card-body">
                <form class="layui-form layui-form-pane">
                    <div class="gridAuto">
                        <div class="layui-form-item">
                            <label class="layui-form-label">部门名称</label>
                            <div class="layui-input-block">
                                <div class="layui-input-wrap">
                                    <input type="text" name="deptname" placeholder="请输入部门名称" lay-affix="clear"
                                        autocomplete="off" class="layui-input">
                                </div>
                            </div>
                        </div>

                    </div>
                    <div class="layui-btn-container selectFormBox">
                        <button class="layui-btn layui-btn-sm" type="button" lay-submit lay-filter="table-search">
                            <i class="layui-icon layui-icon-search"></i>查询
                        </button>
                        <button type="reset" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="layui-icon layui-icon-fonts-clear"></i>清空
                        </button>
                        <button class="layui-btn layui-btn-sm"  type="button"  lay-submit  lay-filter="add"  >
                            <i class="layui-icon layui-icon-add-circle layuiadmin-button-btn"></i>添加
                        </button> 
                    </div>
                </form>
                <table id="LAY-app-dept-list" lay-filter="LAY-app-dept-list"></table>
                <script id="LAY-app-dept-toolbar" type="text/html">
                <div class="layui-clear-space">
                    <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a>
                    <a class="layui-btn layui-btn-xs" lay-event="more">更多<i class="layui-icon layui-icon-down"></i></a>
                </div>
            </script>
                <input type="hidden" id="parentid" />
                <script type="text/html" id="tableoption">
                <a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="next"><i class="layui-icon layui-icon-edit"></i>下一级</a>
            </script>
                <script type="text/html" id="toolbarDemo"> 
                <div style="padding-left: 10px; padding-bottom: 10px; padding-top: 0px;" id="divpath">
                    <a id="0" data-type="next" class="layuiadmin-btn-dept-list layui-a-tips">所有部门>></a>
                </div>
            </script>
            </div>
        </div>
    </div>
    <script src="/layui/layui.js"></script>
    <script src="yj__dept.js"></script>
</body>

</html>